import http from '@/common/utils/request.js'

export const merchant = {
	//获取列表
	getItemList(data){
		return http.get('/merchant/item/', {params:data, custom:{}})
	},
	//获取列表用户端
	getItemListForC(data){
		return http.get('/merchant/itemForC/', {params:data, custom:{}})
	},
	//获取详情
	getItemInfo(data){
		return http.post('/merchant/itemForC/getItemById/', data, {custom:{}})
	},
	//获取门店信息
	getShopInfo(data){
		return http.post('/merchant/shop/getShopInfo/', data, {custom:{}})
	},
	//获取sku
	getSkuList(data){
		return http.get('/merchant/sku/', {params:data, custom:{}})
	},
	//获取分类根据小店
	getCateList(data){
		return http.get('/merchant/cate/', {params:data, custom:{}})
	},
}